package com.hzw.saas.service.group.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzw.saas.api.group.bo.UserMemberBo;
import com.hzw.saas.service.group.model.GroupMember;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户组成员表 Mapper 接口
 * </p>
 *
 * @author sonam
 * @since 2020-12-23
 */
@Mapper
public interface GroupMemberMapper extends BaseMapper<GroupMember> {

    IPage<UserMemberBo> getGroupUserAndRoleList(@Param("groupId") String groupId, Page<UserMemberBo> page);
}
